<template>
  <div id="app">
    <div class="container">
      <div id="nav">
        <main-nav></main-nav>
        <Carousel></Carousel>
        <!--<router-link to="/">Home</router-link> |-->
        <!--<router-link to="/about">About</router-link>-->
      </div>
      <router-view/>
    </div>

  </div>
</template>
<style lang="scss">
#app {
  font-family: 'Avenir', Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-align: center;
  color: #2c3e50;
  .container{
    margin: 0 auto;
    width: 1200px;
  }
}
#nav {
  padding: 0 30px 0 0;
  a {
    font-weight: bold;
    color: #2c3e50;
    &.router-link-exact-active {
      color: #42b983;
    }
  }
}
</style>
<script>
  import MainNav from "./components/MainNav";
  import Carousel from "./components/Carousel"
  export default {
    components: {
      MainNav,
      Carousel
    }
  }
</script>